package mest.service.cxj;

import mest.VO.cxj.FinancialCostOrderVO;
import mest.entity.FinancialCostOrder;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface FinancialCostOrderService {

    /**
     * 添加财务费用单记录
     */
    Integer insertFinancialCostOrder(FinancialCostOrder fco, String theirDb);

    /**
     * 查询全部财务费用单
     */
    List<FinancialCostOrderVO> selectAllFinancialCostOrder(Integer page, Integer limit, Integer status, String content, String theirDb);

    /**
     * 查询财务费用单数量
     */
    Integer selectCountFinancialCostOrder(Integer status, String content, String theirDb);

    /**
     * 完成财务费用单
     */
    Integer changeStatus(Integer id, String theirDb);

    /**
     * 修改实际费用单信息
     */
    Integer modifyFinancialCostOrder(FinancialCostOrder fco, String theirDb);

    /**
     * 获取财务费用单信息
     */
    FinancialCostOrder selectFinancialCostOrderById(Integer id, String theirDb);

    /**
     * 修改财务费用单金额
     */
    Integer updateFinancialCostOrderByMoney(Integer id, BigDecimal hasBennMoney, String theirDb);


}
